package com.wjerp.tplus.server.domain.entity.sys;

import java.util.Date;

/**
 * 这是MyBatis Generator自动生成的Model Class.
 * 对应的数据表是 : user_question_relation
 * 数据表注释 : 用户设置安全问题信息表
 * @author lishuailei
 * @date 2020-10-14 10:06:13
 */
public class UserQuestionRelation {
    /**
     * 
     */
    private String id;

    /**
     * 
     */
    private Long userid;

    /**
     * 
     */
    private String questionid;

    /**
     * 
     */
    private String answer;

    /**
     * 
     */
    private Date createdTime;

    /**
     * 
     */
    private Date updatedTime;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_question_relation.id
     *
     * @return the value of user_question_relation.id
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public String getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_question_relation.id
     *
     * @param id the value for user_question_relation.id
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_question_relation.userId
     *
     * @return the value of user_question_relation.userId
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public Long getUserid() {
        return userid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_question_relation.userId
     *
     * @param userid the value for user_question_relation.userId
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setUserid(Long userid) {
        this.userid = userid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_question_relation.questionId
     *
     * @return the value of user_question_relation.questionId
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public String getQuestionid() {
        return questionid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_question_relation.questionId
     *
     * @param questionid the value for user_question_relation.questionId
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setQuestionid(String questionid) {
        this.questionid = questionid == null ? null : questionid.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_question_relation.answer
     *
     * @return the value of user_question_relation.answer
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public String getAnswer() {
        return answer;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_question_relation.answer
     *
     * @param answer the value for user_question_relation.answer
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setAnswer(String answer) {
        this.answer = answer == null ? null : answer.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_question_relation.created_time
     *
     * @return the value of user_question_relation.created_time
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public Date getCreatedTime() {
        return createdTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_question_relation.created_time
     *
     * @param createdTime the value for user_question_relation.created_time
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_question_relation.updated_time
     *
     * @return the value of user_question_relation.updated_time
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public Date getUpdatedTime() {
        return updatedTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_question_relation.updated_time
     *
     * @param updatedTime the value for user_question_relation.updated_time
     *
     * @mbg.generated Wed Oct 14 10:06:13 CST 2020
     */
    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }
}